/**
 * Created by zenglin on 2017/1/17.
 */
import java.util.Scanner;
public class Sum{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        int number1 = input.nextInt();
        int number2 = input.nextInt();
        int number3 = input.nextInt();
        int Sum = number1 + number2 + number3;
        System.out.println(Sum);
        int value = 2147483647 + 1;//overflow value = -
        System.out.println(value);
    }
}